/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Utility;

/**
 *
 * @author Shuhail
 */
public class EmptyNullCheckUtiliy {
    
    public static boolean isEmptyOrNull(Object obj) {
        if(obj==null)
            return true;
        if(obj instanceof String) {
            String s=obj.toString();
            return (s==null || s.isEmpty() || s.trim().isEmpty());
        
        }
        if(obj instanceof Integer){
            
        }
        return false;
        }
    
    
   
    
}
